-- GENERATED SPELL FOR [Akkrilus] --


function spell0_3773(pUnit, Event) --@Fire Shield II,n/a--
pUnit:FullCastSpellOnTarget(184,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3773', 1000, 1)
end

function spell1_3773(pUnit, Event) --@Immolate,n/a--
pUnit:FullCastSpellOnTarget(1094,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3773', 17000, 1)
end

function Sorts_3773(pUnit, Event)
local choix_sorts_3773 = math.random(0, 1)
if choix_sorts_3773 == 0 then
pUnit:RegisterEvent('spell0_3773', 1, 1)
end
if choix_sorts_3773 == 1 then
pUnit:RegisterEvent('spell1_3773', 1, 1)
end
end

function mob3773_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3773', math.random(1500, 3000), 1)
end

function mob3773_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3773_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3773_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3773, 1, 'mob3773_Action')
RegisterUnitEvent(3773, 2, 'mob3773_Leave')
RegisterUnitEvent(3773, 3, 'mob3773_Kill')
RegisterUnitEvent(3773, 4, 'mob3773_Die')
